﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Shop.Core.Domain.Common;

namespace Shop.Core.Domain.Catalog
{
    public class Factory
    {
        public static Product CreateProduct()
        {
            Product p = new Product();
            p.AvailableEndDateTime = null;
            p.AvailableStartDateTime = DateTime.UtcNow;
            p.CostPrise = Money.Zero;
            p.CreatedOn = DateTime.UtcNow;
            p.Deleted = false;
            p.Description = null;
            p.DisplayStockQuantity = false;
            p.FullDescription = null;
            p.Gtin = null;
            p.Height = new Lenght();
            p.ProductId = null;
            p.IsFreeShipping = false;
            p.IsShipEnabled = true;
            p.Length = new Lenght();
            p.ListPrice = Money.Zero;
            p.ManageInventoryMethod = ManageInventoryMethod.DontManageStock;
            p.Manufacturer = null;
            return p;
        }
    }

}
